package com.dlnu.service;

import com.dlnu.bean.Notice;
import com.github.pagehelper.PageInfo;

public interface NoticeService {

    int create(Notice notice);

    int delete(String ids);

    int delete(Integer id);

    int update(Notice notice);

    int updateSelective(Notice notice);

    PageInfo<Notice> query(Notice notice);

    PageInfo<Notice> queryByBuildingId(Notice notice);

    Notice detail(Integer id);

    int count(Notice notice);
}
